﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AbstractFactory
{
    public class DbscanFactory : IFactory
    {
        public IClustering CreateClustering()
        {
            return new DbscanClustering();
        }

        public IParams CreateParams()
        {
            // 设置自定义参数
            return new DbscanParams { Epsilon = 0.6, MinPoints = 6 };
        }
    }
}
